import { storeToRefs } from "pinia";
import { userStore } from "@/pinia/modules/user";
const useUserStore = userStore();
const {
  ticket,
  jd_balance,
  diamond_balance,
  user_id,
  pageType,
  activeStatus,
  banner_list,
  portrait,
  nickName,
  tabsArr,
  giftList,
  rankingType,
  rankingID,
  rankingTypeArr,
  rankingDayArr,
  custom_id,
  ruleList,
  oss_url,
  lyb_content,
  lyb_diamand_num,
  foolGiftList,
  finalsTimeSt,
  finalsTimeEt
} = storeToRefs(useUserStore)
/**
 * 奖励类型
 */
const rewardType = [
  { type:1,text:'头像框' },
  { type:2,text:'座驾' },
  { type:3,text:'礼物' },
  { type:4,text:'气泡' },
  { type:5,text:'进场特效' },
  { type:6,text:'金豆' },
  { type:7,text:'钻石' },
]
export {
  ticket,
  jd_balance,
  custom_id,
  diamond_balance,
  user_id,
  pageType,
  activeStatus,
  banner_list,
  portrait,
  nickName,
  useUserStore,
  tabsArr,
  giftList,
  rankingType,
  rankingID,
  rankingTypeArr,
  rankingDayArr,
  rewardType,
  ruleList,
  oss_url,
  lyb_content,
  lyb_diamand_num,
  foolGiftList,
  finalsTimeSt,
  finalsTimeEt
}